<?php

//Route::group(['namespace'=>'App\Http\Controllers\Api\Task','prefix'=>'api','middleware'=>'WebAuth'],function(){

//系统通知
Route::group(['namespace'=>'App\Http\Controllers\Api\System','prefix'=>'api'],function(){
    //通知列表
    Route::any('system/notice_index', 'NoticeController@get_list');
    //通知详情
    Route::any('system/get_notice', 'NoticeController@get_notice');
    //添加通知
    Route::post('system/add_notice', 'NoticeController@add_notice');
    //更新通知
    Route::post('system/update_notice', 'NoticeController@update_notice');
    //删除通知
    Route::post('system/delete_notice', 'NoticeController@delete_notice');
});